using System;
using System.Data;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;

namespace HomeCare
{
    public partial class XRConsultationReport : DevExpress.XtraReports.UI.XtraReport
    {
        public XRConsultationReport(DataSet ds)
        {
            InitializeComponent();

            this.DataSource = ds.Tables[0];
        }

        public void setInfo(DateTime dtFrom, DateTime dtTo, String referer)
        {
            XRLB_Header.Text = "Consultation Service Fee From " + 
                               dtFrom.ToShortDateString() + " To " + 
                               dtTo.ToShortDateString() + " For " + referer;
        }

    }
}
